snapshot: Get new GArray item directly
authorTimm Bäder <tbaeder@redhat.com>
Fri, 11 Jan 2019 09:05:44 +0000 (10:05 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 11 Jan 2019 16:02:23 +0000 (17:02 +0100)
commitf4f0f0e6a0488146518266e20d07eb37aeb9b558
treedb1dda65942f3ac64d74ee9abe051c0a40997805
parentba9b0c6f7d3237e77318bec4c546abaa7c212375
snapshot: Get new GArray item directly

Instead of building it up ourselves, then coping it into the GArray and
then getting the last element of that array.
gtk/gtksnapshot.c